import 'package:fish_redux/fish_redux.dart';
import 'package:zenge_web_flutter/page/page_myhome/bottom_info/component.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class ProductsPage extends Page<ProductsState, Map<String, dynamic>> {
  ProductsPage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<ProductsState>(
              adapter: null, slots: <String, Dependent<ProductsState>>{
            'bottom_info':
            BottomInfoConnector() + BottomInfoComponentComponent(),
          }),
          middleware: <Middleware<ProductsState>>[],
        );
}
